package com.cityfood.mapper;

import com.cityfood.pojo.CfProduct;
import com.cityfood.pojo.CfProductExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CfProductMapper {
    int countByExample(CfProductExample example);

    int deleteByExample(CfProductExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CfProduct record);

    int insertSelective(CfProduct record);

    List<CfProduct> selectByExample(CfProductExample example);

    CfProduct selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") CfProduct record, @Param("example") CfProductExample example);

    int updateByExample(@Param("record") CfProduct record, @Param("example") CfProductExample example);

    int updateByPrimaryKeySelective(CfProduct record);

    int updateByPrimaryKey(CfProduct record);
}